package com.ruoyi.LXHComplaint.mapper;

import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 医生查询Mapper
 */
@Mapper
public interface LXHSysUserMapper { // 接口名修改

    /**
     * 根据用户ID查询其所属团队的医生列表
     */
    List<Map<String, Object>> selectTeamDoctorsByUserId(@Param("userId") Long userId);

    /**
     * 根据用户名查询用户
     */
    SysUser selectUserByUserName(String userName);
}